package com.my.ph.entity.torrent;

import cn.hutool.core.date.DateUtil;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.File;

@Data
@Accessors(chain = true)
public class TorrentOption {

    private File inputFile;

    private String outputPath;

    private String announceUrl;

    private String comment = "";

    private String torrentName;

    private Integer pieceLength;

    private boolean privateFlag = true;

    private String source = "";

    private String createdBy = "TorrentTools";

    private String publisher = "mayan50 :)";

    private String creationDate = DateUtil.now();

    private boolean noCreatedBy;

    private boolean noCreationDate;

    private boolean noPublisher;

    private boolean noSource;

}
